package com.lunar.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@AllArgsConstructor
@Data
@NoArgsConstructor
@ToString
@Table(name = "companyinfo")
public class Companyinfo implements Serializable {
    @Column(name = "cid")
    @Id
    private int cid;
    @Column(name = "compName")
    private String compName;
    @Column(name = "ownerName")
    private String ownerName;
    @Column(name = "ownerTel")
    private String ownerTel;
    @Column(name = "compInfo")
    private String compInfo;
}
